package com.quwan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quwan.app.vo.CircleNameDTO;
import com.quwan.entity.TCircleName;
import com.quwan.manager.controller.dto.CircleNameDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author laozhang
 * @date 2022/3/17
 */
public interface TCircleNameMapper extends BaseMapper<TCircleName> {

    Page<CircleNameDto> selectCircleNameDtoList(Page<Map<String, String>> page, @Param("circleTypeId") Long circleTypeId, @Param("circleName") String circleName, @Param("status") Integer status);

    List<CircleNameDto> selectCircleNameDtoList(@Param("circleTypeId") Long circleTypeId, @Param("circleName") String circleName, @Param("status") Integer status);

    Page<CircleNameDTO> selectNameList(Page<Object> objectPage, @Param("id") String id, @Param("mId") String mId);
}
